Skip to content

Use some additional bindings in media player#8

Open
mdehaussy wants to merge 9 commits intotjfontaine:masterfrom
carlipa:master
Open

Use some additional bindings in media player#8
mdehaussy wants to merge 9 commits intotjfontaine:masterfrom
carlipa:master

Conversation

@mdehaussy
Copy link

I've added these functions to media player :

  • setTime -> allow to seek in a file at a position in ms (libvlc_media_player_set_time)
  • getTime -> get file position in ms (libvlc_media_player_get_time)
  • setPosition -> allow to seek in a file at a position in percent (from 0.0 to 1.0) (libvlc_media_player_set_position)
  • getPosition -> get file position in percent (from 0.0 to 1.0) (libvlc_media_player_get_position)
  • setX11Window/setWin32Window/setOSXWindow -> allow to set a window for libvlc output. Useful if you don't want to be limited to directfb output (node-qt, node-x11).

I've fixed types in libvlc_media_player_set_time and libvlc_media_player_get_time bindings by replacing "longlong" by ref.types.int64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants